package com.qf.api.order.feign;

import com.qf.api.config.FeignConfig;
import com.qf.api.order.fallback.OrderFallbackFactory;
import com.qf.common.core.common.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author GaoQiangLiang
 * @date 2025-06-13 21:47
 */

@FeignClient(value = "osm-order", url = "http://10.8.165.131:8150", configuration = FeignConfig.class, fallbackFactory = OrderFallbackFactory.class)
public interface OrderFeignService {

    @GetMapping("/order/getOrderInfo")
    R getOrderInfo(@RequestParam("goodsid") Integer goodsid);


}
